package Model;

/**
 * User
 */
public class User {

    private String sno;
    private String sname;
    private String ssex;
    private int sage;
    private String sdepte;

    /**
     * @param sno
     * @param sname
     * @param ssex
     * @param sage
     * @param sdepte
     */
    public User(String sno, String sname, String ssex, int sage, String sdepte) {
        this.sno = sno;
        this.sname = sname;
        this.ssex = ssex;
        this.sage = sage;
        this.sdepte = sdepte;
    }

    /**
     * 
     */
    public User() {
    }

    /**
     * @return the sno
     */
    public String getSno() {
        return sno;
    }

    /**
     * @param sno the sno to set
     */
    public void setSno(String sno) {
        this.sno = sno;
    }

    /**
     * @return the sname
     */
    public String getSname() {
        return sname;
    }

    /**
     * @param sname the sname to set
     */
    public void setSname(String sname) {
        this.sname = sname;
    }

    /**
     * @return the ssex
     */
    public String getSsex() {
        return ssex;
    }

    /**
     * @param ssex the ssex to set
     */
    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    /**
     * @return the sage
     */
    public int getSage() {
        return sage;
    }

    /**
     * @param sage the sage to set
     */
    public void setSage(int sage) {
        this.sage = sage;
    }

    /**
     * @return the sdepte
     */
    public String getSdepte() {
        return sdepte;
    }

    /**
     * @param sdepte the sdepte to set
     */
    public void setSdepte(String sdepte) {
        this.sdepte = sdepte;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */

    @Override
    public String toString() {
        return "User [sage=" + sage + ", sdepte=" + sdepte + ", sname=" + sname + ", sno=" + sno + ", ssex=" + ssex
                + "]";
    }
}
